<!doctype HTML>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>
async_test(t => {
  runAfterLayoutAndPaint(t.step_func_done(() => {
    target.style.webkitMaskImage = 'url(#foo)';
  }));
});
</script>
Passes if it does not crash.
<textarea style="transform: translateX(1px)" id="target"></textarea>
